package com.bjsxt.reflex;

public class GetClass3 {
    public static void main(String[] args) throws ClassNotFoundException {
        //通过Class.forName("class name")获取Class对象
        Class clazz = Class.forName("com.bjsxt.reflex.Users");
        System.out.println(clazz);
        System.out.println(clazz.getName());
    }
}
